<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>留学生管理系统</title>
        <link rel="stylesheet" href="${path}/css/admin2.css">
        <style>
            table th{
                width: 5%;
            }
            table td{
                width: 10%;
            }
        </style>
        <script>
            var _current_item = "#myTimeTable";
        </script>
        <!--<link rel="stylesheet" href="${path}/css/coursemanage-kb.css"/>--> 
        <script type="text/javascript" src="${path}/js/jquery.min.js"></script>
    </head>
    <body>
        <!--header-->
        <div id="header"></div>
        <div id="main">
            <div id="side-menu"></div>
            <div id="container">
                <div id="inner-border">
                    <div>
                        <div>
                            <table>
                                <#if course??>
                                <tr><td>${course.courseName}</td></tr>
                                <tr><td>(Week ${course.startWeek}-${course.endWeek})</td></tr>
                                <tr><td>Location:${course.classroomNo}</td></tr>
                                </#if>
                            </table>
                        </div>
                        <#if uuid??>
                        <button type="button" onclick="window.location.href = '${path}/mystu/TeaExportExcel?uuid=${uuid}'">导&nbsp;出</button>	
                        </#if>
                    </div>
                    <div>
                        <table id="stuinfotable">
                            <thead>
                                <tr>
                                    <td>护照号</td> 
                                    <td>学号</td>
                                    <td>名</td>
                                    <td>姓</td> 
                                    <td>专业</td>
                                    <td>入学年份</td>
                                    <td>入学季度</td> 
                                </tr>
                            </thead>
                            <tbody>
                                <#if records??>
                                <#list records as rs>
                                <tr>
                                    <td>${rs.newpassportNo!}</td> 
                                    <td>${rs.sNo!}</td>
                                    <td>${rs.lastName!}</td>
                                    <td>${rs.firstName!}</td> 
                                    <td>${rs.majorName!}</td>
                                    <td>${rs.eduStartDate!}</td>
                                    <td>${rs.eduSeason!}</td> 
                                </tr>
                                </#list>
                                </#if>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
                <div id="footer"></div>
        <script type="text/javascript" src="${path}/js/teacher-main-appearance.js"></script>
        <!-- DataTables JavaScript -->
        <script src="${path}/bower_components/datatables/media/js/jquery.dataTables.min.js"></script>
        <script src="${path}/bower_components/datatables-plugins/api/fnGetHiddenNodes.js"></script>
        <script src="${path}/bower_components/datatables-plugins/api/fnGetTd.js"></script>
        <script src="${path}/bower_components/datatables-plugins/api/fnGetTds.js"></script>
        <script src="${path}/bower_components/datatables-plugins/api/fnGetColumnData.js"></script>
        <script src="${path}/bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.min.js"></script>
        <script type="text/javascript">
            $(document).ready(function () {
                $('#stuinfotable').DataTable({
                    responsive: true,
                    ordering: false,
                    searching: true,
                    "bLengthChange": false,
                    "bRetrieve": true,
                    "bFilter": true//过滤功能
                });
            });
        </script>
    </body>
</html>
